Skip to content

[release/8.0] Remove package baseline infrastructure#65209

Merged
wtgodbe merged 2 commits intorelease/8.0from
copilot/backport-package-baseline-removal
Feb 2, 2026
Merged

[release/8.0] Remove package baseline infrastructure#65209
wtgodbe merged 2 commits intorelease/8.0from
copilot/backport-package-baseline-removal

Conversation

Copy link
Contributor

Copilot AI commented Jan 23, 2026

Backport of #64337 to release/8.0 - removes unused package baseline validation and generation tooling.

Description

Package baseline infrastructure was designed to prevent dependency version regressions in servicing builds. The code path is no longer executed, making it dead code.

Removed:

  • eng/Baseline.Designer.props (8.0.21 version definitions)
  • eng/Baseline.xml (baseline configuration)
  • eng/tools/BaselineGenerator/ (generation tool)

Updated:

  • Directory.Build.targets - removed baseline import and BaselinePackageVersion logic
  • eng/targets/ResolveReferences.targets - removed BaselinePackageReference resolution and validation
  • eng/targets/Packaging.targets - removed EnsureBaselineIsUpdated target
  • AspNetCore.sln - removed BaselineGenerator project references
  • eng/scripts/CodeCheck.ps1 - removed baseline regeneration step
  • src/Components/Components/src/*.csproj - removed SuppressBaselineReference items
  • Documentation updates (PreparingPatchUpdates.md, ReferenceResolution.md, UpdatingMajorVersionAndTFM.md)

Customer Impact

None. Internal build infrastructure cleanup only.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Removing dead code that never executes. Validated with successful C# project builds (Http.Abstractions, Components).

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

Baseline validation/generation is removed from build process.


When servicing release/2.1

  • Make necessary changes in eng/PatchConfig.props
Original prompt

Backport the changes from PR #64337 ([release/10.0] Get rid of package baseline) in dotnet/aspnetcore to the release/8.0 branch.

Context:

Requirements:

  • Cherry-pick or reapply the commits from PR [release/10.0] Get rid of package baseline #64337 onto release/8.0, resolving any conflicts appropriately for the 8.0 codebase.
  • Ensure any version-specific paths, package names, or baseline configurations that differ in 8.0 are handled correctly.
  • Build and run tests to verify there are no regressions.
  • Update any documentation or configs if the package baseline removal affects them.
  • Prepare a PR targeting release/8.0 with a clear description including links to the original PR and a summary of changes.

PR description should include:

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copilot AI changed the title [WIP] Backport package baseline removal from PR #64337 to release/8.0 [release/8.0] Remove package baseline infrastructure Jan 23, 2026
Copilot AI requested a review from wtgodbe January 23, 2026 18:41
@wtgodbe wtgodbe marked this pull request as ready for review January 23, 2026 22:34
Copilot AI review requested due to automatic review settings January 23, 2026 22:34
@wtgodbe wtgodbe added the tell-mode Indicates a PR which is being merged during tell-mode label Jan 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR backports changes from release/10.0 (#64337) to remove the unused package baseline validation and generation infrastructure from release/8.0. The baseline infrastructure was originally designed to prevent dependency version regressions in servicing builds but is no longer executed, making it dead code.

Changes:

  • Removed baseline configuration files (Baseline.xml, Baseline.Designer.props) and the BaselineGenerator tool
  • Cleaned up MSBuild targets to remove baseline validation, reference resolution, and version logic
  • Updated project files and scripts to remove baseline references and generation steps
  • Updated documentation to remove instructions for baseline maintenance

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
eng/Baseline.xml Deleted baseline configuration with version 8.0.21 package definitions
eng/Baseline.Designer.props Deleted generated MSBuild properties file (998 lines) with baseline package versions and references
eng/tools/BaselineGenerator/. Deleted complete baseline generation tool (README, Program.cs, .csproj)
eng/targets/ResolveReferences.targets Removed BaselinePackageReference resolution logic and validation warnings/errors
eng/targets/Packaging.targets Removed EnsureBaselineIsUpdated validation target
Directory.Build.targets Removed Baseline.Designer.props import and BaselinePackageVersion-based versioning logic
eng/scripts/CodeCheck.ps1 Removed baseline regeneration step from code check script
eng/Versions.props Removed ValidateBaseline property
eng/Dependencies.props Removed comment references to BaselinePackageReference
AspNetCore.sln Removed BaselineGenerator project and configuration
eng/tools/tools.slnf Removed BaselineGenerator project reference
src/Components/Components/src/Microsoft.AspNetCore.Components.csproj Removed SuppressBaselineReference item group with comments
docs/PreparingPatchUpdates.md Removed instructions to update package baselines
docs/ReferenceResolution.md Removed baseline-related documentation and examples
docs/UpdatingMajorVersionAndTFM.md Removed baseline update instructions

PhilipWoulfe pushed a commit to PhilipWoulfe/F1Competition that referenced this pull request Mar 16, 2026
Updated
[Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore)
from 8.0.24 to 8.0.25.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Mvc.Testing's
releases](https://github.com/dotnet/aspnetcore/releases)._

## 8.0.25

[Release](https://github.com/dotnet/core/releases/tag/v8.0.25)

## What's Changed
* Update branding to 8.0.25 by @​vseanreesermsft in
dotnet/aspnetcore#65293
* [release/8.0] (deps): Bump src/submodules/googletest from `9156d4c` to
`56efe39` by @​dependabot[bot] in
dotnet/aspnetcore#65289
* [release/8.0] Add support for hotfix branding by @​mmitche in
dotnet/aspnetcore#65252
* [release/8.0] Remove package baseline infrastructure by @​Copilot in
dotnet/aspnetcore#65209
* [release/8.0] Set network isolation policy for aspnetcore-ci by
@​github-actions[bot] in dotnet/aspnetcore#65173
* [release/8.0] Fix URL format for JDK download on linux by
@​github-actions[bot] in dotnet/aspnetcore#65076
* [release/8.0] Disable parallel restore for Grpc JsonTranscoding by
@​github-actions[bot] in dotnet/aspnetcore#65073
* [release/8.0] Update Ubuntu queue to 22.04 by @​github-actions[bot] in
dotnet/aspnetcore#65299
* [release/8.0] Re-enable Nuget Audit by @​wtgodbe in
dotnet/aspnetcore#65328
* [release/8.0] Don't use netcoreapp2.1 in dotnet-getdocument by
@​wtgodbe in dotnet/aspnetcore#65331
* [release/8.0] Update AzureIdentityVersion to 1.11.4 by @​wtgodbe in
dotnet/aspnetcore#65332
* [release/8.0] Disable parallel restore for linker tests by @​wtgodbe
in dotnet/aspnetcore#65375
* Merging internal commits for release/8.0 by @​vseanreesermsft in
dotnet/aspnetcore#65382
* [release/8.0] Switch to non-preview 2022 queue by
@​github-actions[bot] in dotnet/aspnetcore#65413


**Full Changelog**:
dotnet/aspnetcore@v8.0.24...v8.0.25

Commits viewable in [compare
view](dotnet/aspnetcore@v8.0.24...v8.0.25).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.AspNetCore.Mvc.Testing&package-manager=nuget&previous-version=8.0.24&new-version=8.0.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PhilipWoulfe pushed a commit to PhilipWoulfe/F1Competition that referenced this pull request Mar 16, 2026
Updated
[Microsoft.AspNetCore.OpenApi](https://github.com/dotnet/aspnetcore)
from 8.0.24 to 8.0.25.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.OpenApi's
releases](https://github.com/dotnet/aspnetcore/releases)._

## 8.0.25

[Release](https://github.com/dotnet/core/releases/tag/v8.0.25)

## What's Changed
* Update branding to 8.0.25 by @​vseanreesermsft in
dotnet/aspnetcore#65293
* [release/8.0] (deps): Bump src/submodules/googletest from `9156d4c` to
`56efe39` by @​dependabot[bot] in
dotnet/aspnetcore#65289
* [release/8.0] Add support for hotfix branding by @​mmitche in
dotnet/aspnetcore#65252
* [release/8.0] Remove package baseline infrastructure by @​Copilot in
dotnet/aspnetcore#65209
* [release/8.0] Set network isolation policy for aspnetcore-ci by
@​github-actions[bot] in dotnet/aspnetcore#65173
* [release/8.0] Fix URL format for JDK download on linux by
@​github-actions[bot] in dotnet/aspnetcore#65076
* [release/8.0] Disable parallel restore for Grpc JsonTranscoding by
@​github-actions[bot] in dotnet/aspnetcore#65073
* [release/8.0] Update Ubuntu queue to 22.04 by @​github-actions[bot] in
dotnet/aspnetcore#65299
* [release/8.0] Re-enable Nuget Audit by @​wtgodbe in
dotnet/aspnetcore#65328
* [release/8.0] Don't use netcoreapp2.1 in dotnet-getdocument by
@​wtgodbe in dotnet/aspnetcore#65331
* [release/8.0] Update AzureIdentityVersion to 1.11.4 by @​wtgodbe in
dotnet/aspnetcore#65332
* [release/8.0] Disable parallel restore for linker tests by @​wtgodbe
in dotnet/aspnetcore#65375
* Merging internal commits for release/8.0 by @​vseanreesermsft in
dotnet/aspnetcore#65382
* [release/8.0] Switch to non-preview 2022 queue by
@​github-actions[bot] in dotnet/aspnetcore#65413


**Full Changelog**:
dotnet/aspnetcore@v8.0.24...v8.0.25

Commits viewable in [compare
view](dotnet/aspnetcore@v8.0.24...v8.0.25).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.AspNetCore.OpenApi&package-manager=nuget&previous-version=8.0.24&new-version=8.0.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PhilipWoulfe pushed a commit to PhilipWoulfe/F1Competition that referenced this pull request Mar 16, 2026
#143)

Updated
[Microsoft.AspNetCore.Components.WebAssembly](https://github.com/dotnet/aspnetcore)
from 8.0.24 to 8.0.25.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.AspNetCore.Components.WebAssembly's
releases](https://github.com/dotnet/aspnetcore/releases)._

## 8.0.25

[Release](https://github.com/dotnet/core/releases/tag/v8.0.25)

## What's Changed
* Update branding to 8.0.25 by @​vseanreesermsft in
dotnet/aspnetcore#65293
* [release/8.0] (deps): Bump src/submodules/googletest from `9156d4c` to
`56efe39` by @​dependabot[bot] in
dotnet/aspnetcore#65289
* [release/8.0] Add support for hotfix branding by @​mmitche in
dotnet/aspnetcore#65252
* [release/8.0] Remove package baseline infrastructure by @​Copilot in
dotnet/aspnetcore#65209
* [release/8.0] Set network isolation policy for aspnetcore-ci by
@​github-actions[bot] in dotnet/aspnetcore#65173
* [release/8.0] Fix URL format for JDK download on linux by
@​github-actions[bot] in dotnet/aspnetcore#65076
* [release/8.0] Disable parallel restore for Grpc JsonTranscoding by
@​github-actions[bot] in dotnet/aspnetcore#65073
* [release/8.0] Update Ubuntu queue to 22.04 by @​github-actions[bot] in
dotnet/aspnetcore#65299
* [release/8.0] Re-enable Nuget Audit by @​wtgodbe in
dotnet/aspnetcore#65328
* [release/8.0] Don't use netcoreapp2.1 in dotnet-getdocument by
@​wtgodbe in dotnet/aspnetcore#65331
* [release/8.0] Update AzureIdentityVersion to 1.11.4 by @​wtgodbe in
dotnet/aspnetcore#65332
* [release/8.0] Disable parallel restore for linker tests by @​wtgodbe
in dotnet/aspnetcore#65375
* Merging internal commits for release/8.0 by @​vseanreesermsft in
dotnet/aspnetcore#65382
* [release/8.0] Switch to non-preview 2022 queue by
@​github-actions[bot] in dotnet/aspnetcore#65413


**Full Changelog**:
dotnet/aspnetcore@v8.0.24...v8.0.25

Commits viewable in [compare
view](dotnet/aspnetcore@v8.0.24...v8.0.25).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.AspNetCore.Components.WebAssembly&package-manager=nuget&previous-version=8.0.24&new-version=8.0.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants